package com.ruoyi.monitormanage.service.impl;

import java.util.List;

import com.ruoyi.monitormanage.domain.TTestteam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.monitormanage.mapper.TTeammemberMapper;
import com.ruoyi.monitormanage.domain.TTeammember;
import com.ruoyi.monitormanage.service.ITTeammemberService;

/**
 * monitormanagebuildService业务层处理
 *
 * @author ruoyi
 * @date 2025-06-11
 */
@Service
public class TTeammemberServiceImpl implements ITTeammemberService
{
    @Autowired
    private TTeammemberMapper tTeammemberMapper;

    /**
     * 查询monitormanagebuild
     *
     * @param id monitormanagebuild主键
     * @return monitormanagebuild
     */
    @Override
    public TTeammember selectTTeammemberById(Long id)
    {
        return tTeammemberMapper.selectTTeammemberById(id);
    }

    /**
     * 查询monitormanagebuild列表
     *
     * @param tTeammember monitormanagebuild
     * @return monitormanagebuild
     */
    @Override
    public List<TTeammember> selectTTeammemberList(TTestteam tTeamteam)
    {
        return tTeammemberMapper.selectTTeammemberList(tTeamteam);
    }

    /**
     * 新增monitormanagebuild
     *
     * @param tTeammember monitormanagebuild
     * @return 结果
     */
    @Override
    public int insertTTeammember(TTeammember tTeammember)
    {
        return tTeammemberMapper.insertTTeammember(tTeammember);
    }

    /**
     * 修改monitormanagebuild
     *
     * @param tTeammember monitormanagebuild
     * @return 结果
     */
    @Override
    public int updateTTeammember(TTeammember tTeammember)
    {
        return tTeammemberMapper.updateTTeammember(tTeammember);
    }

    /**
     * 批量删除monitormanagebuild
     *
     * @param ids 需要删除的monitormanagebuild主键
     * @return 结果
     */
    @Override
    public int deleteTTeammemberByIds(Long[] ids)
    {
        return tTeammemberMapper.deleteTTeammemberByIds(ids);
    }

    /**
     * 删除monitormanagebuild信息
     *
     * @param id monitormanagebuild主键
     * @return 结果
     */
    @Override
    public int deleteTTeammemberById(Long id)
    {
        return tTeammemberMapper.deleteTTeammemberById(id);
    }

    @Override
    public int selectTTeammemberByTeamId(Long[] ids) {
        return tTeammemberMapper.selectTTeammemberByTeamId(ids);
    }
}
